﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace ManaMaple.Models.Lonin.Response
{
    public class LoginResponse
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [JsonProperty("id")]
        public int Id { get; set; } = 0;
        /// <summary>
        /// 用户名称
        /// </summary>
        [JsonProperty("username")]
        public string UserName { get; set; } = string.Empty;
        /// <summary>
        /// 用户别称
        /// </summary>
        [JsonProperty("nickname")]
        public string NickName { get; set; } = string.Empty;
        /// <summary>
        /// 性别
        /// </summary>
        [JsonProperty("avatar")]
        public string Avatar { get; set; } = string.Empty;
        /// <summary>
        /// 登陆时间
        /// </summary>
        [JsonProperty("last_login_time")]
        public DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("token")]
        public string Token { get; set; } = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        [JsonProperty("refresh_token")]
        public string RefreshToken { get; set; } = string.Empty;
        /// <summary>
        /// 是否是管理员
        /// </summary>
        [JsonProperty("super")]
        public string Super { get; set; } = string.Empty;
    }
}
  